<h1>Agregar nueva Categor&iacute;a</h1>
<% form_for :categoria, @categoria, :url => {:action => 'create', :id => @categoria} do |c| %>
    <%= error_messages_for :categoria %>
    <%= render :partial => 'form', :locals => {:c => c} %>
    <%= submit_tag "Guardar" %>
<% end %>
<p><%= link_to "Regresar", :action => "index" %></p>
